package org.senseframework.support.example.mybatis.dao.impl;

import org.senseframework.support.example.mybatis.constant.IDaoNames;
import org.senseframework.support.example.mybatis.dao.IUserDao;
import org.senseframework.support.example.mybatis.domain.User;
import org.senseframework.support.example.mybatis.mapper.UserMapper;
import org.senseframework.support.orm.mybatis.mysql.AbstractMySqlDao;
import org.springframework.stereotype.Repository;

/**
 * Created by emeey on 2016/11/20.
 */
@Repository(IDaoNames.USER_DAO)
public class UserDaoImpl extends AbstractMySqlDao<User> implements IUserDao {
    @Override
    protected Class mapperClass() {
        return UserMapper.class;
    }
}
